home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / ASTRONOM / H139.ZIP / RO101.ZIP / RO.QRF < prev    next >
Text File  |  1991-11-04  |  7KB  |  198 lines

  1. Quick Reference Guide to "ro"
  2. -----------------------------
  3.  
  4.  Command       Break?    Default stacked Function
  5.  -------       ------    ------- ------- ---------
  6.  
  7. A. nroff-compatible commands (* denotes compatibility limitation)
  8.    --------------------------------------------------------------
  9.  
  10.  .. string       no                      string is "mere" comment
  11.                                          (or end of macro definition)
  12.  
  13.  .ad             no      initially on    turn right justification 
  14.                                          on (use .na to turn off); 
  15.                                          only applicable if 
  16.                                          "filling" is also on.
  17.  
  18.  .bp n           yes     n =  +1         begin page numbered n
  19.  
  20.  .br             yes                     cause a break (this
  21.                                          line is not justified)
  22.  
  23.  .ce n           yes     n = 1           center next n lines
  24.  
  25.  .di name (*)    no      junk.$$$        diversion file
  26.                                          (see "PREPROCESSOR")
  27.  
  28.  .de name        no                      define (multiline)
  29.                                          macro ("PREPROCESSOR")
  30.  
  31.  .ds name string no      null string     define string replace-
  32.                                           ment ("PREPROCESSOR")
  33.  
  34.  .em                                     end macro
  35.                                          (see "PREPROCESSOR")
  36.  
  37.  .ex             no                      immediate abort back to
  38.                                          system
  39.  
  40.  .fi             yes                     start filling lines
  41.  
  42.  .ig string      no                      "ignore" string (see ..)
  43.  
  44.  .in n           no      n = 10  Yes     set indent value to n
  45.  
  46.  .ll n           no      n = 65  Yes     set line length (right 
  47.                                          margin)
  48.  
  49.  .ls n           no      n = 1   Yes     set line spacing to n
  50.  
  51.  .na             no      initially on    turn right justification 
  52.                                          off (use .ad to turn on)
  53.  
  54.  .ne n           no/yes  n = 2           "need" n lines; if have
  55.                                          them no action; else
  56.                                          begins new page
  57.  
  58.  .nf             yes                     stop filling lines
  59.  
  60.  .nr name n      no      n=0     No      create or modify 
  61.                                          register variable
  62.                                          (see "PREPROCESSOR")
  63.  
  64.  .pl n           no      n = 66  Yes     sets page length to n
  65.  
  66.  .pm                                     print macros defined 
  67.                                          (for debugging)
  68.  
  69.  .po         no      0       No      sets page offset (spaces 
  70.                                          at left margin of every 
  71.                                          line.  
  72.  
  73.  .so filename    no      ignored Yes     reads named file into
  74.                                          input stream; cannot be
  75.                                          invoked from keyboard
  76.                                          input.
  77.  
  78.  .sp n           yes     n = 1           space down n lines
  79.  
  80.  .ta n           no      n = 8   Yes     sets value of tab space
  81.  
  82.  .tc c           no      ~       Yes     set translation flag
  83.                                          character, see .tr
  84.  
  85.  .ti n           yes     n = 0           set temp. indent of n
  86.  
  87.  .tm string                              send message to terminal 
  88.                                          (console); like a comment
  89.                                          but displayed to
  90.                                          operator during run.
  91.  
  92. B. non-nroff-compatible commands (must be upper-case)
  93.    --------------------------------------------------
  94.  
  95.  .BJ             yes                     break with right
  96.                                          justification (current
  97.                                          line only)
  98.  
  99.  .DB n           no      n = 0(NO)       set debug flag 1 for
  100.                                          diagnostics
  101.  
  102.  .EF /../../../  no      blanks          even footer titling
  103.  
  104.  .EH /../../../  no      blanks          even header titling
  105.  
  106.  .FF n           no      n = 1(yes)      initially, formfeeds
  107.                                          are "off". Can turn
  108.                                          them on.  Each page
  109.                                          then terminated with
  110.                                          one formfeed.
  111.  
  112.  .FO /../../../  no      empty           sets both even and odd
  113.                                          page footers
  114.  
  115.  .HE /../../../  no      empty           sets both even and odd
  116.                                          page headers
  117.  
  118.  .M1             no      n = 2   Yes     set topmost margin to n
  119.  
  120.  .M2             no      n = 2   Yes     set 2nd top margin to n
  121.                                          lines
  122.  
  123.  .M3             no      n = 2   Yes     1st bottom margin to n
  124.                                          lines
  125.  
  126.  .M4             no      n = 2   Yes     bottom-most margin to n
  127.                                          lines
  128.  
  129.  .OF /../../../  no      empty           odd page footer title
  130.  
  131.  .OH /../../../  no      empty           odd page header title
  132.  
  133.  .SC c           no      blank   Yes     space character; the
  134.                                          visible character
  135.                                          that will be trans-
  136.                                          literated to unexpanded
  137.                                          blank.
  138.  
  139.  .SR                                     show registers defined
  140.  
  141.  .SS                                     show strings defined
  142.  
  143.  .ST n           no      n = 1   (yes)   stop (pause) at each page
  144.                                          start; initially off;
  145.                                          may also be enabled by
  146.                                          the -s option.
  147.  
  148.  
  149. C.  Pre-Defined Registers
  150.     ---------------------
  151.  
  152.     dy    current day of the month         \n(dy
  153.     mo    current month as integer (1-12)        \n(mo
  154.     yr    current year -1900            \n(yr
  155.  
  156.  
  157. D.  Printer Control
  158.     ---------------
  159.  
  160.     \fR    Switch to Roman Font
  161.  
  162.      \fI    Switch to Italic Font
  163.  
  164.     \fB    Switch to Bold Font
  165.  
  166.     \u    Up one-half line
  167.  
  168.     \d    Down one-half line
  169.  
  170.  
  171. E.  tmac.m Macros, Strings, and Registers
  172.     -------------------------------------
  173.  
  174.     \\*(DT        Current date (yyyy/mm/dd)
  175.  
  176.     Ps        paragraph spacing (nr)
  177.     Pi        paragraph indent (nr)
  178.     .P        begin paragraph
  179.  
  180.     \\*F        prints current note number, superscript
  181.     .FS        starts text of note
  182.     .FE        ends text of note
  183.     .PN        prints out all notes collected
  184.  
  185.     .R        switch to Roman (regular) font
  186.     .I        switch to Italic font
  187.     .B        switch to Bold font
  188.  
  189.     .PH        page header
  190.     .PF        page footer
  191.  
  192.     .TA        begin double-spaced text segment
  193.     .TZ        end double-spaced text segment
  194.     .BA        begin single-spaced indented block
  195.     .BZ        end single-spaced indented block
  196.  
  197.  
  198.